
package action.conctrol;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.xml.ws.spi.http.HttpContext;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class BaseAction extends ActionSupport {

	protected	HttpServletRequest request;
	protected	HttpServletResponse response;
	protected   HttpSession session;
	protected   ServletContext application;
	
	
	public BaseAction() {
		// TODO Auto-generated constructor stub
		request = ServletActionContext.getRequest();
		response = ServletActionContext.getResponse();
		session=request.getSession();
		application = ServletActionContext.getServletContext();
	
	}

}
